package com.xxgc.cloud.error.center.message;

import com.xxgc.cloud.error.center.message.frame.IJdbcException;
import com.xxgc.cloud.error.center.message.frame.IShiroException;
import com.xxgc.cloud.error.center.message.frame.ISpringMvcException;

/**
 * @program: SpringCloudStudy
 * @description: 错误信息
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-11-23 14:27
 **/
public interface IBaseMsgException extends
        ISpringMvcException,
        IShiroException,
        IJdbcException {
    //终极错误
    String SUPPER_CODE = MSG_HEAD+"supper-01";
    String SUPPER_MSG = "未知错误，请联系系统管理员。";

    //创建Quartz时间是过去式
    String QUARTZTIME_CODE = MSG_HEAD+"Task-01";
    String QUARTZTIME_MSG = "创建Quartz的Cron是过去时间";
    //创建Quartz没有找到Job
    String NOTQUARTZCLASSFOUNDEXCEPTION_CODE = MSG_HEAD+"Task-02";
    String NOTQUARTZCLASSFOUNDEXCEPTION_MSG = "创建Quartz没有找到对应的Job";
    //Token无效异常
    String TOKENINVALIDEXCEPTION_CODE = MSG_HEAD+"Token-01";
    String TOKENINVALIDEXCEPTION_MSG = "Token无效";
    //未找到token
    String TOKENNULLEXCEPTION_CODE = MSG_HEAD+"Token-02";
    String TOKENNULLEXCEPTION_MSG = "未发现令牌，请先登录";

    String TNOPERMISSIONEXCEPTION_CODE = MSG_HEAD+"Perm-01";
    String TNOPERMISSIONEXCEPTION_MSG = "账号无权限";



}
